//
//  EFAPjtAddTCell.h
//  efairy
//
//  Created by XiangDongMBP on 2017/8/12.
//  Copyright © 2017年 East. All rights reserved.
//

#import <UIKit/UIKit.h>

@class EFAPjtAddTCell;
@protocol EFAPjtAddTCellDelegate <NSObject>
@optional
- (void)pjtAddTCell:(EFAPjtAddTCell *)cell editChanged:(UITextField *)textField;
- (void)pjtAddTCell:(EFAPjtAddTCell *)cell scanBtnTapped:(UIButton *)btn;
- (void)pjtAddTCell:(EFAPjtAddTCell *)cell textViewDidChanged:(UITextView *)textView;
@end

@class EFAPjtAddViewCfg;
@interface EFAPjtAddTCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UITextField *valueTextField;
@property (weak, nonatomic) IBOutlet UITextView *textView;
@property (weak, nonatomic) IBOutlet UIImageView *arrowImgView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *arrowWidthConstraint;
@property (weak, nonatomic) IBOutlet UIButton *scanBtn;
@property (assign, nonatomic) NSInteger textMaxLength;

@property (weak, nonatomic) id<EFAPjtAddTCellDelegate>delegate;
- (void)configViewWithViewCfg:(EFAPjtAddViewCfg *)cfg;
@end
